package com.gxl.butt.config;

import com.gxl.butt.dto.vo.IPBean;
import com.gxl.butt.dto.vo.TokenBean;
import com.gxl.butt.dto.vo.TopicBean;
import com.gxl.butt.dto.vo.UserBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by GUOXIAOLIN on 2018/7/16.
 */

@Configuration
public class InitBean {

    @Bean
    public TokenBean tokenBean(){
        return new TokenBean();
    }

    @Bean
    public UserBean userBean(){
        return new UserBean();
    }

    @Bean
    public IPBean ipBean(){
        return new IPBean();
    }

    @Bean
    public TopicBean topicBean(){
        return new TopicBean();
    }
}

